import java.util.Scanner;

public class demo {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入年份：");
        int c= sc.nextInt();
        if (c/1000!=0&&c/1000<10) {
            System.out.println("是正确年份");
        }
        if (c%4==0) {
            System.out.println("是闰年");

        }
        else System.out.println("不是闰年");
        }
    }

